import { createRouter,createWebHistory} from "vue-router";


// 路由信息
const routes = [
    {
        path: "/",
        name: "login",
        component:  () => import('../views/index.vue'),
    },
    {
        path: "/one",
        name: "one",
        component:  () => import('../views/netty/UserOne.vue'),
    },
    {
        path: "/two",
        name: "two",
        component:  () => import('../views/netty/UserTwo.vue'),
    },
    {
        path: "/three",
        name: "three",
        component:  () => import('../views/netty/UserThree.vue'),
    },
    {
        path: "/four",
        name: "four",
        component:  () => import('../views/netty/UserFour.vue'),
    },

];

// 导出路由
const router = createRouter({
    history: createWebHistory(),
    routes,
});


export default router;
